package qjs.com.vn.service.impl;

import java.util.List;

import qjs.com.vn.dao.UserDao;
import qjs.com.vn.model.User;
import qjs.com.vn.service.UserService;

public class UserServiceImpl implements UserService {
   
    UserDao userDao;
    
    public void updateUser(boolean inUse, User user) {
    	userDao.updateUser(inUse, user);
    }
	
	@Override
	public List<User> listUser() {		
		return userDao.listUser();
	}
	
	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

}
